from django.urls import path, re_path
from .views import *


urlpatterns = [
    re_path('^$', IndexView.as_view(), name='index'),
    re_path('^list/(?P<channel_id>\d+)/(?P<page_num>\d+)/$', IndexView.as_view()),
    re_path('^detail/(?P<article_id>\d+)/$', DetailView.as_view()),
]
